diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-07 06:15:01 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-07 06:15:01 +0200 |
commit | 8f1eff6b221a2e01385d314a55b6c96c949ce68c (patch) | |
tree | a8546c67b158ff79c7b93278ea2bfe4a6289136e /emacs-d-mode [disowned]/emacs-d-mode.install | |
parent | update emacs-d-mode (diff) | |
download | aur-packages-8f1eff6b221a2e01385d314a55b6c96c949ce68c.tar.gz aur-packages-8f1eff6b221a2e01385d314a55b6c96c949ce68c.tar.bz2 aur-packages-8f1eff6b221a2e01385d314a55b6c96c949ce68c.tar.xz |
Disowned emacs-d-mode
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'emacs-d-mode [disowned]/emacs-d-mode.install')
-rw-r--r-- | emacs-d-mode [disowned]/emacs-d-mode.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs-d-mode [disowned]/emacs-d-mode.install b/emacs-d-mode [disowned]/emacs-d-mode.install new file mode 100644 index 0000000..a7f8c2f --- /dev/null +++ b/emacs-d-mode [disowned]/emacs-d-mode.install @@ -0,0 +1,16 @@ +post_install() { + cat << EOF +==> To set up Emacs to automatically edit files ending in .d[i] using D-mode +==> add the following to your ~/.emacs file (GNU Emacs) or ~/.xemacs/init.el +==> file (XEmacs): + + (autoload 'd-mode "d-mode" "Major mode for editing D code." t) + (add-to-list 'auto-mode-alist '("\\\.d[i]?\\\'" . d-mode)) + +EOF +} + +post_upgrade() { + post_install $1 +} + |